package com.bcmusic.distri.pojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.lang.String;
import java.lang.Integer;
/****
 * @Author:admin
 * @Description:DistributeDetail构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "DistributeDetail",value = "DistributeDetail")
@Table(name="distribute_detail")
public class DistributeDetail implements Serializable{

	@ApiModelProperty(value = "分发记录id。",required = false)
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "distribute_detail_id")
	private Integer distributeDetailId;//分发记录id。

	@ApiModelProperty(value = "",required = false)
	@Column(name = "constract_id")
	private Integer constractId;//

	@ApiModelProperty(value = "音乐订单编号。关联order表的order_id字段。",required = false)
	@Column(name = "order_id")
	private Integer orderId;//音乐订单编号。关联order表的order_id字段。

	@ApiModelProperty(value = "分发商编号。关联distributor表的distributor_number字段。",required = false)
	@Column(name = "distributor_number")
	private String distributorNumber;//分发商编号。关联distributor表的distributor_number字段。

	@ApiModelProperty(value = "分发商获得的MB积分。即当被授权方通过分发商完成该订单时，分发商可获得的MB积分回馈。",required = false)
	@Column(name = "order_mb_point")
	private String orderMbPoint;//分发商获得的MB积分。即当被授权方通过分发商完成该订单时，分发商可获得的MB积分回馈。

	@ApiModelProperty(value = "",required = false)
	@Column(name = "create_time")
	private Date createTime;//



	//get方法
	public Integer getDistributeDetailId() {
		return distributeDetailId;
	}

	//set方法
	public void setDistributeDetailId(Integer distributeDetailId) {
		this.distributeDetailId = distributeDetailId;
	}
	//get方法
	public Integer getConstractId() {
		return constractId;
	}

	//set方法
	public void setConstractId(Integer constractId) {
		this.constractId = constractId;
	}
	//get方法
	public Integer getOrderId() {
		return orderId;
	}

	//set方法
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	//get方法
	public String getDistributorNumber() {
		return distributorNumber;
	}

	//set方法
	public void setDistributorNumber(String distributorNumber) {
		this.distributorNumber = distributorNumber;
	}
	//get方法
	public String getOrderMbPoint() {
		return orderMbPoint;
	}

	//set方法
	public void setOrderMbPoint(String orderMbPoint) {
		this.orderMbPoint = orderMbPoint;
	}
	//get方法
	public Date getCreateTime() {
		return createTime;
	}

	//set方法
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


}
